  <script type="text/javascript">
      $(document).ready(function() {
          /* $('.highlighted').live('click', function() {
              $('#maincontent').getHighlighter().removeHighlights(this);
          }); */

          $('#maincontent').textHighlighter({
              /*onRemoveHighlight: function(highlight) {
                  return confirm('Do you really want to remove this highlight: "' + $(highlight).text() + '"?');
              }, */
              onBeforeHighlight: function(range) {
                  return confirm('Do you really want to highlight this text: "' + range + '"?');
              },
             /*  onAfterHighlight: function(highlights, range) {
                  alert('You have selected "' + range + '" and created ' + highlights.length + ' highlight(s)!');
              } */
          });
      });
    </script>	